package com.genius.framework.multitenancy.entity;

import java.util.List;

public class DynamicTask {
    private String serviceName;
    private String beanName;
    private String methodName;
    private String cronExpression;
    private List<Object> taskParams;

    public DynamicTask() {
    }

    public DynamicTask(String serviceName, String beanName, String methodName, String cronExpression, List<Object> taskParams) {
        this.serviceName = serviceName;
        this.beanName = beanName;
        this.methodName = methodName;
        this.cronExpression = cronExpression;
        this.taskParams = taskParams;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getCronExpression() {
        return cronExpression;
    }

    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

    public List<Object> getTaskParams() {
        return taskParams;
    }

    public void setTaskParams(List<Object> taskParams) {
        this.taskParams = taskParams;
    }
}
